<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Array
 *
 * @author zxcms
 */
class H_Util_Array {
    //put your code here
    public static function metaArray($array,$the_key,$value_of_key){
        $result = array();
        foreach ($array as $key=>$item){
            $result[$item[$the_key]]=$item[$value_of_key];
        }
        return $result;
    }
}
?>
